#导包
import unittest
from htmltestreport import  HTMLTestReport
#创建用例集
from config import REPORT_PATH, TEST_PATH
from scripts.test_ihrm_crud import TestIHRMCRUD

suite1=unittest.makeSuite(TestIHRMCRUD)
suite2=unittest.TestLoader.discover(TEST_PATH,"test*.py")
#实例化测试报告对象
runner=HTMLTestReport(f"{REPORT_PATH}/ihrm_crub.html")
runner.run(suite1)